/* cmd_shell_adapter.c */

#include "cmd_shell.h"
#include <stdio.h>

void CmdPutChar(char c)
{
    /* Put data to bus. */
    putchar(c);
}

char CmdGetChar(void)
{
    char ch;

    /* Fetch data from bus. */
    ch = getchar();

    return ch;
}

const CMD_HandlerCallback_T CmdHandlerCallbackStruct =
{
    .SER_PutCharFunc = CmdPutChar,
    .SER_GetCharFunc = CmdGetChar,
    ">"
};

/* EOF. */

